﻿using Abp.Modules;
using App.Configuration;
using System.Reflection;

namespace App
{
    public class AppCoreModule : AbpModule
    {
        public override void PreInitialize()
        {
            //Adding setting providers
            Configuration.Settings.Providers.Add<AppSettingProvider>();
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
        }
    }
}
